diff -Nru a/src/xml/papers.xml b/src/xml/papers.xml
--- a/src/xml/papers.xml	2018-03-29 02:39:34.000000000 +0200
+++ b/src/xml/papers.xml	2018-04-15 18:06:50.346632470 +0200
@@ -43,6 +43,17 @@
  *   along with this program.  If not, see https://www.gnu.org/licenses/.
 </copyright>
   <paperdef>
+    <paper name="A4">
+      <description translate="value" value="A4"/>
+      <comment value="210mm x 297mm"/>
+      <width value="595"/>
+      <height value="842"/>
+      <unit value="metric"/>
+<!-- DISTRIBUTORS: Please do NOT insert margins here to work around -->
+<!-- problems with page margins that were present in 5.0.0.  That -->
+<!-- workaround is no longer needed.  Please see the explanation at the -->
+<!-- top of this file. -->
+    </paper>
 <!-- GROUP: Imperial -->
     <paper name="Letter">
       <description translate="value" value="Letter"/>
@@ -499,17 +510,6 @@
       <height value="1191"/>
       <unit value="metric"/>
     </paper>
-    <paper name="A4">
-      <description translate="value" value="A4"/>
-      <comment value="210mm x 297mm"/>
-      <width value="595"/>
-      <height value="842"/>
-      <unit value="metric"/>
-<!-- DISTRIBUTORS: Please do NOT insert margins here to work around -->
-<!-- problems with page margins that were present in 5.0.0.  That -->
-<!-- workaround is no longer needed.  Please see the explanation at the -->
-<!-- top of this file. -->
-    </paper>
     <paper name="A5">
       <description translate="value" value="A5"/>
       <comment value="148mm x 210mm"/>
